﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class RegionBase
    {
        #region 内部变量
        private int regionid;
        private string regionnumber;
        private string regionname;
        private string regionnameeng;
        private int layer;
        private int parentid;
        private string nodetype;
        #endregion

        public RegionBase() { }

        #region 公共属性
        /// <summary>
        /// 城市Id
        /// </summary>
        public int RegionId
        {
            set { regionid = value; }
            get { return regionid; }
        }
        /// <summary>
        /// 数据记录编码
        /// </summary>
        public string RegionNumber
        {
            set { regionnumber = value; }
            get { return regionnumber; }
        }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string RegionName
        {
            set { regionname = value; }
            get { return regionname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RegionNameEng
        {
            set { regionnameeng = value; }
            get { return regionnameeng; }
        }
        /// <summary>
        /// 层级（1 省份，2城市）
        /// </summary>
        public int Layer
        {
            set { layer = value; }
            get { return layer; }
        }
        /// <summary>
        /// 父类Id
        /// </summary>
        public int ParentId
        {
            set { parentid = value; }
            get { return parentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string NodeType
        {
            set { nodetype = value; }
            get { return nodetype; }
        }
        #endregion
    }
}
